<template>
  <div id="app">
    <el-button @click="addList">默认点击按钮</el-button>
    <i-button @click="chooseOne">iview默认按钮</i-button>
    <div class="tableBox">
      <Table/>
    </div>
  </div>
</template>

<script>
import choosePopFunc from "@/components/popout/ChoosePop";
import addListPopFunc from '@/components/popout/addListPop'
import Table from '@/components/Table'
export default {
  name: 'App',
  components:{
    Table
  },
  data() {
    return {
      
    };
  },
  methods:{
    async chooseOne(){
      const res = await choosePopFunc(['牛','蜘蛛','狼','剑姬'])
      console.log(res);
    },
    async addList(){
      const res = await addListPopFunc(['牛','蜘蛛','狼','剑姬'])
      console.log(res);
    },
  }
};
</script>

<style lang="scss">

</style>
